home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7870 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: hermes.is.co.za!news
  2. From: Wiekus Beukes <wiekusb@hipsys.co.za>
  3. Newsgroups: comp.lang.c,comp.os.linux.development.apps,comp.programming,comp.unix.programmer
  4. Subject: Re: Changing pipe capacity
  5. Date: Thu, 29 Feb 1996 14:46:28 +0200
  6. Organization: No organisation supplied
  7. Message-ID: <3135A024.4409@hipsys.co.za>
  8. References: <4gt4c9$mds$1@mhade.production.compuserve.com> <4h3b9q$mok@krel.iea.com>
  9. NNTP-Posting-Host: charon.hipsys.co.za
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/712)
  14.  
  15. Larry Blanchard wrote:
  16. > Xavi Roig Gracia (101522.2001@CompuServe.COM) wrote:
  17. > : Hi !
  18. > :       I am using pipes in a personal development (with Linux
  19. > : and gcc) and I detect that the pipe capacity is 4096 bytes by
  20. > : default. I need a capacity greather than 4096 bytes (for send
  21. > : and receive a unique missatge between processes in a 8192 bytes
  22. > : format).
  23. > : Question:
  24. > :       - How can I change the default pipe capacity ?
  25. > : Thanks in advance !
  26. > : --
  27. > : Xavi Roig Gracia (101522.2001@compuserve.com)
  28. > : Universitat Autonoma de Barcelona
  29. > : Catalonia - Europe
  30. > Why bother? - use a message queue instead.
  31.  
  32.   The only problem with messages is that you cannot select() on it :-(.
  33. It does not use
  34.   file descriptors, so it get's ugly (SIGNALS) intergrating this with
  35. sockets and timeout
  36.   handlers.
  37.  
  38. Wiekus
  39.